<html>
<head>
    <title>Document</title>
</head>
<body>
    <script>
        function changeDB(type){
            console.log('11');
            
        }

    </script>

    <div>
        <input id="giteeToken" type="text" value="">
        <button onclick="changeDB('gitee')">提交</button>
    </div>


</body>
</html>